package sisgel.user;

public class Monitor extends User {
	
	private int idNumber;
	private String idLab;
	
	public Monitor() {
		super();
	}
	
	public Monitor(int userId, String userName, String login,
			String password, String telephone, String email,
			int idNumber, String idLab) {
		super(userId, userName, login, password, telephone, email);
		this.idNumber = idNumber;
		this.idLab = idLab;
	}
	
	public Monitor(String userName, String login,
			String password, String telephone, String email,
			int idNumber, String idLab) {
		this(-1, userName, login, password, telephone, email, idNumber, idLab);
		
		this.userId = saveUser();
	}
		

	public String getIdLab() {
		return idLab;
	}

	public void setIdLab(String idLab) {
		this.idLab = idLab;
	}

	public int getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(int idNumber) {
		this.idNumber = idNumber;
	}

}
